#include <iostream>
#include <QApplication>
extern "C"
{
    #include "libavcodec/avcodec.h"
    #include "libavformat/avformat.h"
    #include "libswscale/swscale.h"
    #include "libavdevice/avdevice.h"
    #include "libswresample/swresample.h"
    #include "libavutil/imgutils.h"
}
#include "MainWindow.h"
using namespace std;

//主函数
int main(int argc, char *argv[]){
    cout << "qt_rtsp_show_ui ~~~\n";
    cout << "******************************************************\n";
    cout << "FFmpeg      version：" << av_version_info() << "\n";
    cout << "libavcodec  version：" << avcodec_version() << "\n";
    cout << "libavformat version：" << avformat_version() << "\n";
    cout << "libavutil   version：" << avutil_version() << "\n";
    cout << "******************************************************\n";

    QApplication app(argc, argv);
    app.setOverrideCursor(Qt::BlankCursor);//隐藏指针

    // 创建并显示主窗口
    MainWindow mainWindow;
    // mainWindow.show();
    mainWindow.showFullScreen();//全屏显示

    return app.exec();
}



